/*******************************************************************************
 * Copyright (c) 2010, 2015 git@git.oschina.net:kaiwill/springstage.git
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.qinyeit.serviceapp.entity.enums;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * ClassName: CreateSourceType <br/>
 * Function: 会员记录 类型(充值/消费/开卡/)  <br/>
 */
@JsonFormat(shape= JsonFormat.Shape.OBJECT)
public enum VipRecordType {

    OPENCARD("开卡"),
    RECHARGE("充值"),
    TRANSFER("转账"),
    REPORTLOSS("挂失"),
    SOLVEHANGING("解挂"),
    RECHARGEUNDO("充值撤销"),
    CHECKOUT("退卡"),
    CONSUME("消费"),
    RECONSUME("撤销消费");

    private final String text;

    private VipRecordType(String text) {
        this.text = text;
    }
    public String getText() {
        return text;
    }
    public String getKey() {
        return toString();
    }
}
